﻿<Page x:Class="JasRibbonApplicatie.Views.PrintLabels"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="1000" d:DesignWidth="800"
	Title="PrintLabels" xmlns:extToolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended">

    <Grid>
        <GroupBox Header="Type" Height="110" HorizontalAlignment="Left" Margin="10,10,0,0" Name="labeltypeGroupBox" VerticalAlignment="Top" Width="200">
            <Grid>
                <RadioButton Content="Materiaal" GroupName="LabelType" Height="16" HorizontalAlignment="Left" Margin="10,10,0,0" Name="materiaalRadioButton" VerticalAlignment="Top" Checked="materiaalRadioButton_Checked" />
                <RadioButton Content="Toebehoren" GroupName="LabelType" Height="16" HorizontalAlignment="Left" Margin="10,35,0,0" Name="toebehorenRadioButton" VerticalAlignment="Top" Checked="toebehorenRadioButton_Checked" />
                <RadioButton Content="Magazijnier" GroupName="LabelType" Height="16" HorizontalAlignment="Left" Margin="10,60,0,0" Name="magazijnierRadioButton" VerticalAlignment="Top" Checked="magazijnierRadioButton_Checked" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Label Formaat" Height="110" HorizontalAlignment="Left" Margin="220,10,0,0" Name="LabelFormaatGroupBox" VerticalAlignment="Top" Width="200" Visibility="Collapsed">
            <Grid>
                <RadioButton Content="Klein" GroupName="LabelFormaat" Height="16" HorizontalAlignment="Left" Margin="15,10,0,0" Name="kleinRadioButton" VerticalAlignment="Top" Checked="formaatRadioButton_Checked" />
                <RadioButton Content="Groot" GroupName="LabelFormaat" Height="16" HorizontalAlignment="Left" Margin="15,35,0,0" Name="grootRadioButton" VerticalAlignment="Top" Checked="formaatRadioButton_Checked" />
                <RadioButton Content="Bandje" GroupName="LabelFormaat" Height="16" HorizontalAlignment="Left" Margin="15,60,0,0" Name="bandjeRadioButton" VerticalAlignment="Top" Checked="formaatRadioButton_Checked" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Aantal" Height="110" HorizontalAlignment="Left" Margin="430,12,0,0" Name="aantalGroupBox" VerticalAlignment="Top" Width="200" Visibility="Collapsed">
            <Grid>
                <Label Content="Aantal Pagina's:" Height="33" HorizontalAlignment="Left" Margin="9,4,0,0" Name="aantalPaginasLabel" VerticalAlignment="Top" Width="106" FontWeight="Bold" />
                <extToolkit:DoubleUpDown HorizontalAlignment="Left" Margin="113,6,0,0" Name="aantalPaginaDoubleUpDown" VerticalAlignment="Top" Width="66" Minimum="1" Maximum="100" ValueChanged="aantalPaginaDoubleUpDown_ValueChanged" />
                <Label Content="Aantal Labels:" FontWeight="Bold" Height="24" HorizontalAlignment="Left" Margin="9,33,0,0" Name="aantallabelsLabel" VerticalAlignment="Top" Width="106" />
                <Label Content="10000" Height="24" HorizontalAlignment="Left" Margin="113,33,0,0" Name="aantalLabel" VerticalAlignment="Top" Width="65" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Voorbeeld" Margin="401,126,12,12" Name="voorbeeldGroupBox" Visibility="Collapsed">
            <Grid>
                <Label Content="Vul de lade met:" FontWeight="Bold" Height="26" HorizontalAlignment="Left" Margin="9,6,0,0" Name="instructieLabel" VerticalAlignment="Top" Width="170" />
                <Label Content="papierType" Height="27" HorizontalAlignment="Left" Margin="9,22,0,0" Name="papierTypeLabel" VerticalAlignment="Top" Width="170" />
                <Canvas Height="196" HorizontalAlignment="Left" Margin="14,63,0,0" Name="badgeprintpreviewCanvas" VerticalAlignment="Top" Width="346">
                    <Canvas.Background>
                        <ImageBrush ImageSource="/JasRibbonApplicatie;component/Images/login_bg.jpg" Stretch="Fill" TileMode="None" />
                    </Canvas.Background>
                    <Border BorderBrush="Silver" BorderThickness="1" Canvas.Left="6" Canvas.Top="6" Width="334" Height="184" />
                    <Image Canvas.Left="229" Canvas.Top="63" Height="123" Name="fotoImage" Stretch="UniformToFill" Width="106" />
                    <Label Canvas.Left="9" Canvas.Top="6" Content="Voornaam Achternaam" Height="42" Name="naamLabel" Width="238" FontSize="20" />
                    <Image Canvas.Left="14" Canvas.Top="114" Height="72" Name="barcodeImage" Stretch="Fill" Width="198" StretchDirection="Both" Margin="0" />
                    <Label Canvas.Left="9" Canvas.Top="34" Content="Jeugd Aartselaar Service Verlening" Height="31" Name="jasLabel" Width="208" FontSize="12" />
                    <Image Canvas.Left="229" Canvas.Top="9" Height="51" Name="logoImage" Stretch="Uniform" Width="106" Source="/JasRibbonApplicatie;component/Images/logo_128.png" />
                    <Label Canvas.Left="86" Canvas.Top="162" Content="G0000" FontSize="16" Height="24" Name="barcodeLabel" Width="55" HorizontalContentAlignment="Center" Background="White" HorizontalAlignment="Stretch" Padding="0" />
                    <Label Canvas.Left="15" Canvas.Top="63" Content="Functie" Height="41" Name="functieLabel" Width="207" FontSize="22" />
                </Canvas>
                <Button Content="Print" Margin="0,0,6,6" Name="button1" Click="printButton_Click" Height="53" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75" />
                <Grid Margin="14,63,15,65" Name="printpreviewCanvas" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Magazijnier" Height="235" HorizontalAlignment="Left" Margin="10,126,0,0" Name="magazijnierGroupBox" VerticalAlignment="Top" Width="377" Visibility="Collapsed">
            <Grid>
                <ComboBox Height="20" HorizontalAlignment="Left" Margin="62,10,0,0" Name="magazijnierComboBox" VerticalAlignment="Top" Width="297" DisplayMemberPath="Gebruiker.NaamVoornaam" SelectionChanged="magazijnierComboBox_SelectionChanged" />
                <Label Content="Naam:" Height="28" HorizontalAlignment="Left" Margin="6,6,0,0" Name="kiesnaamLabel" VerticalAlignment="Top" />
                <TextBox Height="23" HorizontalAlignment="Left" Margin="10,55,0,0" Name="fotoTextBox" VerticalAlignment="Top" Width="279" IsReadOnly="True" />
                <Button Content="Bladeren..." Height="23" HorizontalAlignment="Left" Margin="295,54,0,0" Name="fotobladerenButton" VerticalAlignment="Top" Width="64" Click="fotobladerenButton_Click" />
                <Label Content="Kies een foto voor het pasje" Height="28" HorizontalAlignment="Left" Margin="6,28,0,0" Name="kiesfotoLabel" VerticalAlignment="Top" Width="353" />
            </Grid>
        </GroupBox>
    </Grid>
</Page>
